]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-theme-node: fix obvious size comparison error
authorLionel Landwerlin <llandwerlin@gmail.com>
Wed, 10 Jul 2013 15:07:22 +0000 (16:07 +0100)
committerLionel Landwerlin <llandwerlin@gmail.com>
Sat, 13 Jul 2013 07:31:14 +0000 (08:31 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=703997

src/st/st-theme-node-drawing.c

index e8ba869d3f67ca627a98dc7fc9d38e7cf7680fea..9e052a59c7e82243d8997640c7a5ef68a8da50dd 100644 (file)
@@ -2347,7 +2347,7 @@ st_theme_node_needs_new_box_shadow_for_size (StThemeNodePaintState *state,
 
   /* The allocation hasn't changed, no need to recompute a new
      box-shadow. */
-  if (state->alloc_width == width ||
+  if (state->alloc_width == width &&
       state->alloc_height == height)
     return FALSE;